﻿<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/holdWip/holdWip" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="holdList" />
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel" />
            <label>组装批号<strong><span class="text-danger">*</span></strong>：</label>
            <input name='LotId' value="${LotId}"/>&nbsp;
            <label>暂停代码<strong><span class="text-danger">*</span></strong>：</label>
            <input name='HoldCode' value="${HoldCode}"/>&nbsp;
            <label>工步：</label>
            <g:select id="mode" name="STEPNAME" from="${packageForm5}" data-toggle="selectpicker" data-width="150"
                      data-live-search="true" optionKey="STEPNAME" optionValue="STEPNAME" value="${STEPNAME}"
                      noSelection="['': '--ALL--']"/><br>
            <label>开始时间<strong><span class="text-danger">*</span></strong>：</label>
            <input type="text" name="startTime" class="form-control"
                   data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss"
                   size="18" id="start-date-input" readonly value="${startTime.format('yyyy-MM-dd HH:mm:ss')}">&nbsp;
            <label>结束时间<strong><span class="text-danger">*</span></strong>：</label>
            <input type="text" name="endTime" class="form-control"
                   data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss"
                   size="18" id="end-date-input" readonly value="${endTime.format('yyyy-MM-dd HH:mm:ss')}" >&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <button type="button" class="btn-blue" onclick="javascript:bjuiExportExl('#pagerForm','${request.getContextPath()}/holdWip/exportExcel')" data-icon="file-excel-o" title="导出Excel">导出Excel文件</button>&nbsp;
        </div>
    </form>
</div>
<div class="bjui-pageContent">


    %{--<div style="margin:15px auto 0; width:96%;">--}%
        %{--<div class="row" style="padding: 0 8px;">--}%
            %{--<div class="col-md-12" id="glassOutReportTable">--}%

                    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
                        <thead>
                        <tr>
                            <th width="45" align="center">No.</th>
                            <th width="135" align="center">产品名称</th>
                            <th width="140" align="center">组装批号</th>
                            <th width="80" align="center">暂停代码</th>
                            <th width="80" align="center">暂停工步</th>
                            <th width="280" align="center">工步描述</th>
                            <th width="65" align="center">暂停数量</th>
                            <th width="67" align="center">暂停人员</th>
                            <th width="150" align="center">暂停时间</th>
                            <th width="255" align="center">暂停备注</th>
                            <th width="80" align="center">周记</th>
                        </tr>
                        </thead>
                        <tbody>
                        <g:each in="${holdList}" status="i" var="tableInstance">
                            <tr>
                                <td width="60">${i+1}</td>
                                <td width="100">${tableInstance.part_name}</td>
                                <td width="100">${tableInstance.lot_id}</td>
                                <td width="80">${tableInstance.HOLD_CODE}</td>
                                <td width="80">${tableInstance.STEP_NAME}</td>
                                <td width="120">${tableInstance.STEP_DESC}</td>
                                <td width="80">${tableInstance.MAIN_QTY}</td>
                                <td width="110">${tableInstance.HOLD_USER_NAME}</td>
                                <td width="110">${tableInstance.HOLD_TIME}</td>
                                <td width="100">${tableInstance.HOLD_COMMENT}</td>
                                <td width="80">${tableInstance.Reserved4}</td>
                            </tr>
                        </g:each>

                        </tbody>
                    </table>

            %{--</div>--}%
        %{--</div>--}%
    %{--</div>--}%
</div>

